/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.dqsy.xingfa.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.dqsy.xingfa.entity.YjyDataXing;
import com.jeeplus.modules.dqsy.xingfa.mapper.YjyDataXingMapper;

/**
 * 刑法查询Service
 * @author 于金洋
 * @version 2020-11-06
 */
@Service
@Transactional(readOnly = true)
public class YjyDataXingService extends CrudService<YjyDataXingMapper, YjyDataXing> {

	public YjyDataXing get(String id) {
		return super.get(id);
	}
	
	public List<YjyDataXing> findList(YjyDataXing yjyDataXing) {
		return super.findList(yjyDataXing);
	}
	
	public Page<YjyDataXing> findPage(Page<YjyDataXing> page, YjyDataXing yjyDataXing) {
		return super.findPage(page, yjyDataXing);
	}
	
	@Transactional(readOnly = false)
	public void save(YjyDataXing yjyDataXing) {
		super.save(yjyDataXing);
	}
	
	@Transactional(readOnly = false)
	public void delete(YjyDataXing yjyDataXing) {
		super.delete(yjyDataXing);
	}
	
}